Escape an ampersand in the documentation comment, and hack around an empty
authorFederico Mena Quintero <federico@ximian.com>
Wed, 7 Jan 2004 03:31:21 +0000 (03:31 +0000)
committerFederico Mena Quintero <federico@src.gnome.org>
Wed, 7 Jan 2004 03:31:21 +0000 (03:31 +0000)
2004-01-06  Federico Mena Quintero  <federico@ximian.com>

* gdk-pixbuf-io.c (gdk_pixbuf_save): Escape an ampersand in the
documentation comment, and hack around an empty line in the code
example so that gtk-doc won't put a <para> due to it.

gdk-pixbuf/ChangeLog
gdk-pixbuf/gdk-pixbuf-io.c

index 950175968c95f470e96a48406fb05ae0bf8994fc..6a18fb314545e389e04f1f989b1c1b234d8e4530 100644 (file)
@@ -1,5 +1,9 @@
 2004-01-06  Federico Mena Quintero  <federico@ximian.com>
 
+       * gdk-pixbuf-io.c (gdk_pixbuf_save): Escape an ampersand in the
+       documentation comment, and hack around an empty line in the code
+       example so that gtk-doc won't put a <para> due to it.
+
        * gdk-pixbuf.c (gdk_pixbuf_get_pixels): Link to the documentation
        section on image data.
 
index e67564c223aa23c04c167bcc98a9725f112eff7d..3b7c1da8ece8354a3b2dc9a719b36b40f804b864 100644 (file)
@@ -1273,10 +1273,10 @@ gdk_pixbuf_real_save_to_callback (GdkPixbuf         *pixbuf,
  *   if (gdk_pixbuf_format_is_writable (data))
  *     *list = g_slist_prepend (*list, data);
  * }
- *
+ * <!-- -->
  * GSList *formats = gdk_pixbuf_get_formats (<!-- -->);
  * GSList *writable_formats = NULL;
- * g_slist_foreach (formats, add_if_writable, &writable_formats);
+ * g_slist_foreach (formats, add_if_writable, &amp;writable_formats);
  * g_slist_free (formats);
  * </programlisting></informalexample>
  *